projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8aa3eb
)
luci-app-statistics: remove unused luci.sys include
author
Florian Eckert
<
[email protected]
>
Mon, 21 Jan 2019 13:19:08 +0000
(14:19 +0100)
committer
Florian Eckert
<
[email protected]
>
Mon, 21 Jan 2019 13:44:20 +0000
(14:44 +0100)
Signed-off-by: Florian Eckert <
[email protected]
>
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua
patch
|
blob
|
history
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua
b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua
index 193f0448ae249b623cd683a5941cc5a07e049497..f0a5ab5930816c1a036ee61bda379ff41828b7bf 100644
(file)
--- a/
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua
+++ b/
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/openvpn.lua
@@
-1,11
+1,8
@@
-- Copyright 2015 Jo-Philipp Wich <
[email protected]
>
-- Licensed to the public under the Apache License 2.0.
-require "luci.sys"
-
local m, s, o
-
m = Map("luci_statistics",
translate("OpenVPN Plugin Configuration"),
translate("The OpenVPN plugin gathers information about the current vpn connection status."))
diff --git
a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
index 77e36bfaff48a9f876930a16101fa5849c71f512..69066880c38aae0597215463719a4443f2cdd17c 100644
(file)
--- a/
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
+++ b/
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
@@
-1,8
+1,6
@@
-- Copyright 2015 Jo-Philipp Wich <
[email protected]
>
-- Licensed to the public under the Apache License 2.0.
-require "luci.sys"
-
local m, s, o
local sensor_types = {
["12v"] = "voltage",